<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE 
    html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:maa="http://manuel-alvarez-alvarez.appspot.com/taglib/maa">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>#{msg['title']}&#160;<ui:insert name="title" /></title>
	<script type="text/javascript" src="/js/jquery.min.js"></script>
	<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="/js/template.js"></script>
	<script type="text/javascript">
		// i18n
		var loadingDialogTitle = '#{msg["loading.title"]}';
	</script>
	<maa:css rel="stylesheet" href="/css/jquery-ui.css" type="text/css" />
	<maa:css rel="stylesheet" href="/css/layout.css" type="text/css" />
	<maa:css rel="stylesheet" href="/css/style.css" type="text/css" />
</h:head>
<h:body>
	<div id="wrap">
		<div class="shadow">
			<div id="main">
				<div id="top">
					<ui:insert name="top">
						<ui:include src="/WEB-INF/template/top.xhtml" />
					</ui:insert>
				</div>
				<div id="menu">
					<ui:insert name="top">
						<ui:include src="/WEB-INF/template/menu.xhtml" />
					</ui:insert>
				</div>
				<div id="content">
					<div id="left">
						<ui:insert name="left">
							<ui:include src="/WEB-INF/template/left.xhtml" />
						</ui:insert>
					</div>
					<div id="center">
						<ui:insert name="center">
							<ui:include src="/WEB-INF/template/center.xhtml" />
						</ui:insert>
					</div>
					<div id="right">
						<h:messages globalOnly="true" errorClass="errorMessage" infoClass="infoMessage"/>
						<ui:insert name="content" />
					</div>
				</div>
				<div id="bottom">
					<ui:insert name="bottom">
						<ui:include src="/WEB-INF/template/bottom.xhtml" />
					</ui:insert>
				</div>
			</div>
		</div>
	</div>
	<div id="loading">
		<div>#{msg["loading.text"]}</div>
	</div>
</h:body>
</html>